package com.wulin.learning.设计模式.抽象工厂;

import ch.qos.logback.core.joran.spi.XMLUtil;
import javafx.scene.control.ComboBox;

public class Client {
    public static void main(String args[]) {
        //使用抽象层定义
        SkinFactory factory;
        Button bt;
        TextField tf;
        factory = new SpringSkinFactory();
        bt = factory.createButton();
        tf = factory.createTextField();
        bt.display();
        tf.display();
    }
}
